package com.hunttown.mes.rpc.api;

import com.hunttown.mes.rpc.domain.AnalysisRegionDTO;
import com.hunttown.common.domain.Page;
import com.hunttown.mes.rpc.domain.query.AnalysisRegionDTOQuery;

/**
 * created by wangjunfu on 2018-11-26 15:06:34
 */
public interface AnalysisRegionRpcService {

    AnalysisRegionDTO insert(AnalysisRegionDTO analysisRegionDTO);

    Boolean updateInfoById(AnalysisRegionDTO analysisRegionDTO);

    Boolean updateInfoByQuery(AnalysisRegionDTOQuery analysisRegionDTOQuery);

    AnalysisRegionDTO selectById(Integer id);

    AnalysisRegionDTO selectObjByQuery(AnalysisRegionDTOQuery analysisRegionDTOQuery);

    Page<AnalysisRegionDTO> getListForPage(AnalysisRegionDTOQuery analysisRegionDTOQuery);

    Boolean deleteById(Integer id);
}